package module
{

	public class ProjectModuleBase extends KModuleBase
	{	
		private var m_id:uint;
		private var m_title:String;
		private var m_startTime:Date;
		private var m_endTime:Date;
		private var m_progress:Number;
		private var m_participatorList:Array;
		private var m_descript:String;
		public function ProjectModuleBase()
		{
			m_progress = 0;
			m_descript = "";
			m_participatorList = [];
		}
		
		/**
		 * clone;
		 * 
		 **/
		public function clone():*
		{
			var newObj:* = new ProjectModuleBase();
			newObj._id(this.id);
			newObj._title(this.title);
			newObj._startTime(this.startTime);
			newObj._endTime(this.endTime);
			newObj._progress(this.progress);
			newObj._participatorList(this.participatorList);
			newObj._descript(this.descript);
			return newObj;
		}
		
		/**
		 * id
		 * 
		 * 
		 */
		public function _id($value:Number):*
		{
			m_id = $value;
			return this;
		}
		public function get id():uint
		{
			return m_id;
		}
		
		/**
		 * title
		 * 
		 * 
		 * 
		 */
		public function _title($str:String):*
		{
			m_title = $str;
			return this;
		}
		public function get title():String
		{
			return m_title;
		}
		
		/**
		 * startTime
		 * 
		 * 
		 */
		public function _startTime($time:Date):*
		{
			m_startTime = $time;
			return this;
		}
		public function get startTime():Date
		{
			return m_startTime;
		}
		
		/**
		 * endTime
		 * 
		 * 
		 * 
		 */
		public function _endTime($time:Date):*
		{
			m_endTime = $time;
			return this;
		}
		public function get endTime():Date
		{
			return m_endTime;
		}
		
		/**
		 * progress
		 * 
		 * 
		 * 
		 */
		public function _progress($value:Number):*
		{
			m_progress = $value;
			return this;
		}
		public function get progress():Number
		{
			return m_progress;
		}
		
		/**
		 * descript
		 * 
		 * 
		 */
		public function _descript($str:String):*
		{
			m_descript = $str;
			return this;
		}
		public function get descript():String
		{
			return m_descript;
		}
		
		/**
		 * 
		 * 
		 * 
		 */
		public function _participatorList($arr:Array):*
		{
			m_participatorList = $arr;
		}
		public function get participatorList():Array
		{
			return m_participatorList;
		}
		
		/**
		 * toString
		 * 
		 * 
		 */
		public function toString():String
		{
			var str:String = "{ProjectModuleBase id=\"" + m_id + "\" title=\"" + m_title + "\" descript=\"" + m_descript + "\"}";
			return str;
		}
	}
}